[WPF]: Styling a scrollbar, but the ListView scrollbar is not affected by the style
Posted
by code-zoop
on Stack Overflow
See other posts from Stack Overflow
or by code-zoop
Published on 2010-04-28T12:53:12Z
Indexed on
2010/04/28
18:27 UTC
Read the original article
Hit count: 1089
I am styling a scrollbar in a resourceDictionary without giving it a key value:
<Style TargetType="{x:Type ScrollBar}">
...
</Style>
Bur for some reason only a component of the type Scrollbar are affected by the style. Not the ListView component's scrollbar!
I would Think that all scrollbars would have the same style since I am not using any key value in the style definition!
Any ideas?
© Stack Overflow or respective owner